﻿using Microsoft.EntityFrameworkCore;
using worker_service.Tools;

namespace worker_service.Models
{
    public class DmDbContext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseDm(AppsettingsTool.Configuration?.GetConnectionString("Dm") ?? "");
        }
    }
}
